package fr.oz.view.profile.dragable.ui 
{
	/**
	 * ...
	 * @author Fazermokeur
	 */
	public class CustomCursor
	{
		
		public function CustomCursor() 
		{
			/*	Récupère la couleur selectionné, et rayonne	*/
		public var bg:Sprite;
		
		public function CustomCursor() 
		{
			if (stage) init();
			else addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event = null):void		
		{
			
			startDrag(true);
			visible = false;
			mouseEnabled = false;
			mouseChildren = false;
			
			/*	Lueur externe du cursor	*/
			var filter:BitmapFilter = new GlowFilter(0xFF0000, 1, 12, 12, 4, BitmapFilterQuality.HIGH);
			var myFliters:Array = new Array();
			myFliters.push(filter);
			bg.filters = myFliters;
		}
		
	}

}